﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FanaticRock.Core.Helpers
{
    public static class TimeSpanHelper
    {
        public static TimeSpan Max(TimeSpan v1, TimeSpan v2)
        {
            if (v1 > v2) return v1;
            return v2;
        }

        public static TimeSpan Min(TimeSpan v1, TimeSpan v2)
        {
            if (v1 < v2) return v1;
            return v2;
        }
    }
}
